package com.api.shopapi.service;


import com.api.shopapi.entity.CartBusiness;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface CartBusinessService {

    int insert(CartBusiness cartBusiness);

    int update(CartBusiness cartBusiness);

    int delete(String cartBusinessCode);

    List<CartBusiness> getList();

    List<CartBusiness> getListByCartCode(String cartCode);

    CartBusiness getByCartBusinessCode(String cartBusinessCode);
}
